package com.qfedu.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName HelloController
 * @Author ykx
 * @Date 2024/5/20 17:07
 * @Version 1.0
 */
@RequestMapping("/hello")
@RestController
public class HelloController {

    @GetMapping
    public String hello(String name) {
        return "hello," + name;
    }

}
